package com.example.demo.controller;

import com.example.demo.service.interFace;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class WorldController {
    @Autowired
    interFace i;
    @GetMapping("/world")
    public String world(){
        i.sj();
        return "world";

    }
}
